<?php
class Admin_Model_Role extends Zend_Db_Table{
	protected $_name = 'roles';
	protected $_primary = 'RoleId';
    
    public function getOneRole($RoleId){
        $db = Zend_Registry::get('db');
        $sql = 'select * from roles where RoleId = ?';        
        return  $db->fetchRow($sql,$RoleId);        
    }
}